package com.dietmanager.model.javafx.util;

import javafx.beans.property.SimpleStringProperty;

//Log class
public class DailyLog {
	private final SimpleStringProperty food;
	private final SimpleStringProperty calories;
	private final SimpleStringProperty amount;
	private final SimpleStringProperty fat;
	private final SimpleStringProperty carbohydrates;
	private final SimpleStringProperty proteins;

	public DailyLog(String f, String c, String a, String fatty, String carb,
			String pro) {
		this.food = new SimpleStringProperty(f);
		this.calories = new SimpleStringProperty(c);
		this.amount = new SimpleStringProperty(a);
		this.fat = new SimpleStringProperty(fatty);
		this.carbohydrates = new SimpleStringProperty(carb);
		this.proteins = new SimpleStringProperty(pro);
	}

	public String getFood() {
		return food.get();
	}

	public void setFood(String f) {
		food.set(f);
	}

	public String getCalories() {
		return calories.get();
	}

	public void setCalories(String c) {
		calories.set(c);
	}

	public String getAmount() {
		return amount.get();
	}

	public void setAmount(String a) {
		amount.set(a);
	}

	public String getFat() {
		return fat.get();
	}

	public void setFat(String fatty) {
		fat.set(fatty);
	}

	public String getCarbohydrates() {
		return carbohydrates.get();
	}

	public void setCarbohydrates(String carb) {
		carbohydrates.set(carb);
	}

	public String getProteins() {
		return proteins.get();
	}

	public void setProteins(String pro) {
		proteins.set(pro);
	}

}